package com.sc.nft.entity.vo;


import com.sc.nft.enums.AalvageEventsLinkEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class GetSalvageEventsRewardsVO {


    @ApiModelProperty(value = "关联类型  INTEGRAL:碎片 PROPS:道具 ROUGH_STONE:原石")
    private AalvageEventsLinkEnum linkType;

    @ApiModelProperty(value = "类型名称")
    private String linkName;

    @ApiModelProperty(value = "关联数量")
    private String linkCount;

    @ApiModelProperty(value = "关联id")
    private Long linkId;

    @ApiModelProperty("关联图片")
    private String linkImg;

    public void setLinkCount(BigDecimal linkCount) {
        this.linkCount = linkCount.stripTrailingZeros().toPlainString();
    }
}
